/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package exercicio15;

/**
 *
 * @author Caio
 */
public class VacationVisitor implements IVisitor {

    @Override
    public void Visit(Element element) {
        Employee employee = new Employee(); 
        
        System.out.println("{0}{1}'s new vacation days :{2}"+employee.getClass().getName()+employee.getName()+employee.getVacationDays());
    }
    
}
